package com.dongdongshop.service.impl;

import com.dongdongshop.mapper.TbGoodsDescMapper;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.service.TbGoodsDescService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
@DubboService
public class TbGoodsDescServiceImpl implements TbGoodsDescService{
    @Resource
    private TbGoodsDescMapper tbGoodsDescMapper;
    @Override
    public TbGoodsDesc selectByGoodsId(Long goodsId) {
        return tbGoodsDescMapper.selectByPrimaryKey(goodsId);
    }
}
